HTTP Service
-
Global factory const which can be used to create an
HTTPServiceClient
with aStitchAppClient
. Pass intoStitchAppClient.serviceClient(fromFactory:withName)
to get a `HTTPServiceClient.Declaration
Swift
public let httpServiceClientFactory: AnyNamedServiceClientFactory<HTTPServiceClient>
-
The HTTP service client, which can be used to perform HTTP requests via MongoDB Stitch.
See moreDeclaration
Swift
public protocol HTTPServiceClient
-
Represents a RFC 6265 cookie.
See moreDeclaration
Swift
public struct HTTPCookie
-
The series of methods accepted by the HTTP service.
See moreDeclaration
Swift
public enum HTTPMethod : String
-
An HTTPRequest encapsulates the details of an HTTP request over the HTTP service.
See moreDeclaration
Swift
public struct HTTPRequest
-
A builder class which can be used to prepare an HTTP request to be executed by the Stitch HTTP service.
See moreDeclaration
Swift
public class HTTPRequestBuilder
-
An error that the
See moreHTTPRequestBuilder
can throw if it is missing certain configuration properties.Declaration
Swift
public enum HTTPRequestBuilderError : Error
-
The response to an HTTP request over the HTTP service.
See moreDeclaration
Swift
public struct HTTPResponse : Decodable